#
#  Be sure to run `pod spec lint ViomiSystemAuth.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |spec|

  spec.name         = "ViomiSystemAuth"
  spec.version      = "6"
  spec.summary      = "云米商城系统权限相关"
  spec.description  = <<-DESC
  查询或请求云米商城系统权限
                   DESC

  spec.homepage     = "https://gitee.com/chocolate_df/viomi_systemauth_ios"
  spec.license      = { :type => "MIT", :file => "FILE_LICENSE" }
  spec.author             = { "陈狄夫" => "15816259234@163.com" }
  spec.platform     = :ios, "10.0"
  spec.ios.deployment_target = "10.0"
#  spec.pod_target_xcconfig = {'DEFINE_MODULE'=>YES}

  spec.source       = { :git => "https://gitee.com/chocolate_df/viomi_systemauth_ios.git", :tag => "#{spec.version}" }
  # spec.source_files = "ViomiSystemAuth/*.swift","ViomiSystemAuth/*/*.swift","ViomiSystemAuth/*/*/*.swift","ViomiSystemAuth/*/*/*/*.swift"
#  spec.vendored_framework = 'ViomiSystemAuth_Products/ViomiSystemAuth.framework'

   spec.subspec 'Source' do |ss|
     ss.source_files = "ViomiSystemAuth/*.swift","ViomiSystemAuth/*/*.swift","ViomiSystemAuth/*/*/*.swift","ViomiSystemAuth/*/*/*/*.swift"
     ss.resource = 'ViomiSystemAuth/Resource/ViomiSystemAuth.bundle'
   end

  spec.dependency 'VMUIKit'

end
